class CreateMajors < ActiveRecord::Migration
  def self.up
    create_table :majors do |t|
      t.column  :title,                     :string
      t.column  :ss_elective_hours,         :integer
      t.column  :humanities_elective_hours,   :integer
      t.column  :free_elective_hours,       :integer
      t.column  :technical_elective_hours,  :integer
      t.column  :advisor,                   :string
      t.column  :department_id,             :integer
    end
  end

  def self.down
    drop_table :majors
  end
end
